'use strict';

var appController = require('../controllers/App.server.controller');

module.exports = function(app) {
	app.route('/api/App/getSharedFileInfo').post(appController.getSharedFileInfo);
	app.route('/api/App/getFileStream').post(appController.getFileStream);
	app.route('/api/App/getFileStream/:FileName').get(appController.getFileStreamByGet);
	//获取网关元数据信息
	app.route('/api/App/getGateWayInfo').post(appController.getGateWayInfo);
	//获取智能工厂元数据信息
	app.route('/api/App/getRealTimeDCInfo').post(appController.getRealTimeDCInfo);
};